<template>
  <div>
    <OrderListItem v-for="orderInfo in orderInfoArr" :key="orderInfo.orderId" :orderInfo="orderInfo" @getAllOrder="getAllOrder"></OrderListItem>
  </div>
</template>

<script>
import OrderListItem from '@/components/OrderListItem.vue'

export default {
  name: 'AllOrder',
  props: ['orderInfoArr'],
  components: {
    OrderListItem
  },
  methods: {
    getAllOrder() {
      this.$emit('getAllOrder')
      // console.log(123);
    }
  }
}
</script>

<style>

</style>